Skip to content

consensus: surface late and excluded commit signatures to operators - #5093

Merged
GheisMohammadi merged 1 commit into
devfrom
improve/late_signature_visibility
Aug 4, 2026
Merged

consensus: surface late and excluded commit signatures to operators#5093
GheisMohammadi merged 1 commit into
devfrom
improve/late_signature_visibility

Conversation

@GheisMohammadi

Copy link
Copy Markdown
Collaborator

Validators can lose signing percentage when their commit vote arrives too late for FBFT to include it. That is expected protocol behavior, but today there is often no clear local signal—only a drop in signing stats.

This PR adds logging and a Prometheus metric so operators can see when:

  1. This validator signed a block, but its key is missing from the final COMMITTED bitmap (Warn log)
  2. The leader receives a prepare/commit vote for a block it already finalized (Info log)

Consensus behavior is unchanged. Late votes are still dropped; we only make that visible.

Metric

hmy_consensus_late_signature{role,phase}

  • role=validator, phase=committed — local key missing from final commit bitmap
  • role=leader, phase=PREPARE|COMMIT — vote for the previous (just finalized) block

@mergify

mergify Bot commented Aug 4, 2026

Copy link
Copy Markdown

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@GheisMohammadi
GheisMohammadi merged commit 3b40146 into dev Aug 4, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants